

import 'package:flutter/material.dart';

class StackDemo extends StatelessWidget{
  @override
  Widget build(BuildContext context) {

    return Stack(
      children: [
        Positioned(child: Text("1"),left: 50,top: 50,),
        Positioned(child: Text("2"))
      ],
    );

  }

}